<?php
/**
 * Created by JetBrains PhpStorm.
 * User: satiri
 * Date: 12/17/12
 * Time: 2:01 PM
 * To change this template use File | Settings | File Templates.
 */
 
class Item extends Base_model
{
    function __construct()
    {
        parent::__Construct();
        $this->init("jenis_alat","id_jenisalat","nama_jenisalat");

        //setiap alat, bisa memiliki 0 atau lebih property
        $this->load->model("property_name","props");

    }

    function add_property($property_name)
    {

    }

    /**
     * @return all properties
     */
    function get_properties()
    {
        
    }

    function get_property()
    {

    }
}